#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <my_lineedit.h>
#include "syszuxpinyin.h"
#include "subform.h"


namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

public slots:
    void show_syszupinyin_ui(QString data);     //显示键盘

    void confirmString(QString gemfield);   //接收键盘发过来的数据

private:
    Ui::Widget *ui;
    My_lineEdit *m_edit;
    My_lineEdit *m_edit2;
    SyszuxPinyin *syszuxpinyin;

    SubForm *subfom;
public:
    int flag;



private slots:
    void on_pushButton_clicked();
};

#endif // WIDGET_H
